# coding:utf-8
from models import Solary, User
from sql_create import create_table
from sql_insert import insert
from sql_select import select_fun

create_table(Solary)
new_user = User(id="55", name="miko")
insert(new_user)
print("产生新的用户")
data = select_fun(User)
for i in data:
    print(i.id, i.name)
